<template>
<div class="my-container">
<el-container>
    <el-header class="my-header">
        <MoneyHeader />
    </el-header>
    <el-container>
        <el-aside class="my-aside">
            <MoneyAside />
        </el-aside>
        <el-main class="my-main">
            <RouterView />
        </el-main>
    </el-container>
</el-container>
</div>
</template>

<script lang="ts" setup>
    import MoneyHeader from './MoneyHeader.vue';
    import MoneyAside from './MoneyAside.vue';
</script>

<style lang="scss" scoped>
    .my-header {
        margin: 0;
        width: 100%;
        background-color: #fff;
        position: fixed;
        top: 0;
        height: 76px;
        border-bottom: 1px solid #dcdfe6;
    }

    .my-main {
        margin: 77px 0 0 181px;
        background-color: #fff;
    }

    .my-aside {
        height: calc(100vh - 77px);
        position: fixed;
        top: 77px;
        left: 0;
        width: 180px;
        border-right: 1px solid #dcdfe6
    }
</style>